CVE-2024-27008
drm: nv04: Fix out of bounds access
Description
In the Linux kernel, the following vulnerability has been resolved: drm: nv04: Fix out of bounds access When Output Resource (dcb->or) value is assigned in fabricate_dcb_output(), there may be out of bounds access to dac_users array in case dcb->or is zero because ffs(dcb->or) is used as index there. The 'or' argument of fabricate_dcb_output() must be interpreted as a number of bit to set, not value. Utilize macros from 'enum nouveau_or' in calls instead of hardcoding. Found by Linux Verification Center (linuxtesting.org) with SVACE.
INFO
Published Date :
May 1, 2024, 6:15 a.m.
Last Modified :
Nov. 4, 2025, 6:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected Linux kernel packages.
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27008.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27008 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27008
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27008 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27008 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 04, 2025
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ -
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.8.8 *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.38 from (excluding) 5.15.157 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.29 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added Reference Type CVE: https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04 Types: Mailing List, Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Types: Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062 Added Reference https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5 Added Reference https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1 Added Reference https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face Added Reference https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042 Added Reference https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb Added Reference https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e Added Reference https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 03, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062 [No types assigned] Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ Removed Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 03, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ [No types assigned] Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ [No types assigned] Added Reference kernel.org https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm: nv04: Fix out of bounds access When Output Resource (dcb->or) value is assigned in fabricate_dcb_output(), there may be out of bounds access to dac_users array in case dcb->or is zero because ffs(dcb->or) is used as index there. The 'or' argument of fabricate_dcb_output() must be interpreted as a number of bit to set, not value. Utilize macros from 'enum nouveau_or' in calls instead of hardcoding. Found by Linux Verification Center (linuxtesting.org) with SVACE. Added Reference kernel.org https://git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6face [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1e [No types assigned]